import 'package:freezed_annotation/freezed_annotation.dart';

part 'sj_language_translate_body.g.dart';

@JsonSerializable()
class SjLanguageTranslateBody {
  final String? key;
  final String? target;
  final String? q;
  final String? format;
  SjLanguageTranslateBody({this.key, this.target, this.q, this.format});

  factory SjLanguageTranslateBody.fromJson(Map<String, dynamic> json) => _$SjLanguageTranslateBodyFromJson(json);
  Map<String, dynamic> toJson() => _$SjLanguageTranslateBodyToJson(this);
}
